* {
    margin: 0;
    padding: 0;
}

body {
    font-size: 14px;
}

a {
    text-decoration: none;
    font-size: 14px;
    color: #fff;
}

ul li, ol {
    list-style-type: none;
}

.bg_img {
    width: 100%;
    height: 100%;
}

.bg_img img {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
}

.container {
    margin-top: 110px;
    width: 100%;
    height: 600px;
}

.container .banner {
    margin: auto;
    width: 800px;
    height: 300px;
    perspective: 800px;
}

.container .banner ul {
    width: 800px;
    height: 300px;
}

.container .banner ul li {
    height: 300px;
    position: relative;
    transform-style: preserve-3d;
    float: left;
}

.container .banner ul li div {
    height: 300px;
    width: 100%;
    position: absolute;
    text-align: center;
    line-height: 300px;
}

.container .banner ul li div:nth-child(1) {
    top: -300px;
    transform: translateZ(150px) rotateX(90deg);
    transform-origin: bottom;
    background-image: url("http://demo.zhangbin.xin/3d_banner_fklb/images/3.jpg");
}

.container .banner ul li div:nth-child(2) {
    top: 300px;
    transform: translateZ(150px) rotateX(-90deg);
    transform-origin: top;
    background-image: url("http://demo.zhangbin.xin/3d_banner_fklb/images/1.jpg");
}

.container .banner ul li div:nth-child(3) {
    transform: translateZ(150px);
    background-image: url("http://demo.zhangbin.xin/3d_banner_fklb/images/2.jpg");
}

.container .banner ul li div:nth-child(4) {
    transform: translateZ(-150px) rotateX(180deg);
    background-image: url("http://demo.zhangbin.xin/3d_banner_fklb/images/4.jpg");
}

.container .banner ol {
    position: absolute;
    right: -60px;
    bottom: -15px;
}

.container .banner ol li {
    position: relative;
    z-index: 9999;
    float: left;
    margin: 3px;
    font-size: 14px;
    border: 1px solid #fff;
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    width: 20px;
    height: 20px;
    text-align: center;
    line-height: 20px;
    border-radius: 50%;
    cursor: pointer;
    transition: .5s;
}

.container .banner ol:hover li {
    box-shadow: 1px 1px 1px 0 rgba(204, 204, 204, 0.7);
    transition: .5s;
}

.container .banner ol li:hover {
    box-shadow: 1px 1px 1px 1px #222;
    transition: .5s;
}

#config {
    margin: 30px;
    position: relative;
    z-index: 9999;
    font-size: 20px;
    color: #fff;
}

#config input {
    height: 20px;
    width: 100px;
    font-weight: 800;
    font-size: 20px;
    color: #f00;
    border: 0;
}
